package com.sl.au.service.impl;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.StringUtils;

import com.sl.au.entity.BusinesssellerAuthentication;
import com.sl.au.entity.BusinesssellerBaseInfo;
import com.sl.au.entity.BussinessContent;
import com.sl.au.entity.BussinessLevel;
import com.sl.au.entity.Module;
import com.sl.au.entity.Option;
import com.sl.au.repository.BussinessContentRepository;
import com.sl.au.repository.BussinessLevelRepository;
import com.sl.au.service.BussinessContentService;
import com.sl.au.service.BussinessLevelService;
import com.sl.au.service.ModuleService;

@Service("BussinessContentService")
@Transactional
public class BussinessContentServiceImpl extends BaseServiceImpl implements BussinessContentService{
	
	@Autowired
	BussinessContentRepository bussinessContentRepository;

	@Override
	public BussinessContentRepository getRepository() {
		return bussinessContentRepository;
	}

	@Override
	public int saveBussinessContent(BussinessContent bussinessContent) {
		int code=0;
		this.bussinessContentRepository.save(bussinessContent);	
		return code;
	}
	

}
